<?php
/**
 * @Author: Ron Chen
 * @Date:   2017-02-03 16:58:48
 * @Last Modified by:   Ron Chen
 * @Last Modified time: 2017-02-03 17:17:28
 */

namespace common\models\user;

use Yii;
use mdm\admin\models\User;

/**
 * This is the model class for table "{{%admin_card_tag}}".
 *
 * @property integer $id
 * @property string $title
 * @property integer $type
 * @property integer $status
 * @property string $remark
 * @property integer $created_at
 * @property integer $updated_at
 */
class UserAdmin extends User
{
	/**
	 * 切换数据库
	 */
	public static function getDb(){
		return Yii::$app->get('db_wecall');
    }
}